/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.service.impl;

import cc.altius.dao.DesignationDao;
import cc.altius.model.Designation;
import cc.altius.service.DesignationService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author santosh
 */
@Service
public class DesignationServiceImpl implements DesignationService {

    @Autowired
    private DesignationDao designationDao;

    @Override
    public int addDesignation(Designation designation) {
        return this.designationDao.addDesignation(designation);
    }

    @Override
    public List<Designation> getDesignationList() {
        return this.designationDao.getDesignationList();
    }
}
